/**
 * @description 将对象转为地址栏参数
 * @param obj
 * @returns {string}
 */
 export const routerParamUrl = obj => {
  let paramStr = '';
  Object.keys(obj).forEach(item => {
      if (paramStr === '') {
        paramStr = `${item}=${obj[item]}`;
      } else {
        paramStr = `${paramStr}&${item}=${obj[item]}`;
      }
  });
  return paramStr
}